
# File: ally_mage_affinity.gd
# 法师技能 - 元素亲和
# 提升元素抗性
extends TechnologyResource
class_name AllyMageAffinity

var element_resist = 0.4  # 元素抗性加成

func _init() -> void:
	super()
	display_name = "Elemental Affinity"
	description = "+40% elemental resistance"
	GlobalSignal.gs_unit_created.connect(_on_unit_create)

# 修改抗性属性
func _on_unit_create(unit: Unit):
	pass
